<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('In_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-in_id" data-rule="required" data-source="in/index" class="form-control selectpage" name="row[in_id]" type="text" value="{$row.in_id|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('User_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-user_id" data-rule="required" data-source="user/user/index" data-field="nickname" class="form-control selectpage" name="row[user_id]" type="text" value="{$row.user_id|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Content')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-content" class="form-control" name="row[content]" type="text" value="{$row.content|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Zan_num')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-zan_num" class="form-control" name="row[zan_num]" type="number" value="{$row.zan_num|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Co_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-co_id" data-rule="required" data-source="co/index" class="form-control selectpage" name="row[co_id]" type="text" value="{$row.co_id|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Co_user_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-co_user_id" data-rule="required" data-source="co/user/index" class="form-control selectpage" name="row[co_user_id]" type="text" value="{$row.co_user_id|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Inco')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-inco" class="form-control" name="row[inco]" type="text" value="{$row.inco|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Create_time')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-create_time" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[create_time]" type="text" value="{:$row.create_time?datetime($row.create_time):''}">
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
        </div>
    </div>
</form>
